package com.ruoyi.report.forms.service.impl;

import com.ruoyi.report.forms.mapper.ReportFormsEditMapper;
import com.ruoyi.report.forms.service.IReportFormsEditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ReportFormsEditServiceImpl implements IReportFormsEditService {

    @Autowired
    private ReportFormsEditMapper reportFormsEditMapper;

    @Override
    public List<String> listColName(String tableName) {
        return reportFormsEditMapper.listColName(tableName);
    }

    @Override
    public List<Map<String, Object>> listDataByTemplate(String tableName, List<String> colNameList, String dataScope, List<Map<String, Object>> basicDataList) {
        return reportFormsEditMapper.listDataByTemplate(tableName, colNameList, dataScope, basicDataList);
    }
}
